package com.zhang.backend.service;

import com.zhang.backend.dto.GenealogyNodeDTO;
import com.zhang.backend.entity.Person;

import java.util.List;

public interface GenealogyService {

    List<Person> findRootPersons(Long familyTreeId);

    GenealogyNodeDTO buildTreeFromRoot(Long rootPersonId);
}